package com.cxhc.common.enums;

public enum IntegralType {

    DEFAULT("default", "默认积分", 2L),
    AUTHENTICATION("auth", "注册认证", 5L),
    IMPROVE_INFORMATION("evpi", "完善企业/人员信息",2L),
    SECURITY_CHECK("security", "消防安全检查并发现隐患",10L),
    RUBBISH_SORTING("rubbish", "垃圾分类相关工作",5L),
    ENVIRONMENT("environment", "环境整洁",10L),
    BUILD_CHECK("buildCheck", "楼宇违规检查",5L),
    BUILDING_SITE("buildingSite", "工地安全检查",10L),
    HANDLING_EVENTS("handle", "办结事项",10L),
    PEACE_PROMOTION("promotion", "宣传",2L),
    CONTRADICTION("contradiction", "解决楼宇内矛盾纠纷",10L),
    WINTER("冬天", "寒冷",2L);

    private final String type;
    private final String desc;
    private final Long integral;

    IntegralType(String type, String desc, Long integral) {
        this.type = type;
        this.desc = desc;
        this.integral = integral;
    }

    public String getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }

    public Long getIntegral() {
        return integral;
    }

    @Override
    public String toString() {
        return "IntegralType{" +
                "type='" + type + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}
